package com.youlai.boot.gym.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.gym.model.entity.AccessLogs;
import com.youlai.boot.gym.model.form.AccessLogsForm;

/**
 * 出入日志对象转换器
 *
 * @author hxc
 * @since 2025-06-01 12:37
 */
@Mapper(componentModel = "spring")
public interface AccessLogsConverter{

    AccessLogsForm toForm(AccessLogs entity);

    AccessLogs toEntity(AccessLogsForm formData);
}